---
title: random
description: 'Generate a random number'
group: Random
---

## Basic usage

Genearate a number within a range. This function is meant for utility use -- not cryptographic.

```ts
import { random } from 'radash'

random(0, 100) // => a random number between 0 and 100
```
